package com.hifar.test.report.pojo.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

/**
 * @author zhuWeiWei
 * @description 报告推送对象
 * @date 2025/7/22 16:48
 */
@Data
@ApiModel("报告推送对象")
public class ReportPushModel {

    @ApiModelProperty("报告编号")
    private String reportCode;

    @ApiModelProperty("报告编制时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reportCreateTime;

    @ApiModelProperty("word路径")
    private String wordPath;

    @ApiModelProperty("pdf路径")
    private String pdfPath;

    private String entrustCode;

    @ApiModelProperty(value = "委托部门")
    private String entrustCust;

    @ApiModelProperty(value = "委托人姓名")
    private String entrustUserName;

    @ApiModelProperty("试验开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date testStartTime;

    @ApiModelProperty("试验结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date testEndTime;

    @ApiModelProperty("试验项目")
    private String unitNames;

}
